---
--类名: CountDownEvent.lua
--创建日期: 2017-5-19
--创建人: 陈小虎
--功能描述: 
--修改内容:
--修改日期:   
--修改人:     
--修改备注: 
--
local Event = import(".Event")

local CountDownEvent = class("CountDownEvent",function()
    return Event.new()
end)

function CountDownEvent:ctor(params)
	self:setEventName(params.event)
	self.mKeepTime = params.keepTime or 0
	self.mHour = params.hour or 0
	self.mMin = params.min or 0
	self.mSec = params.sec or 0
	self.mR = params.r or 255
	self.mG = params.g or 255
	self.mB = params.b or 255
	self.mO = params.o or 255
	self.mFontSize = params.fontSize
	self.mX = params.x or (display.width / 2)
	self.mY = params.y or (display.heght / 2)
	self.mImmediately = params.immediately
end

return CountDownEvent